Duplicate Template Fields ^^^^^ **Definition:** * The fields of two or more templates are identical or very similar **Code Example:** .. code-block:: java template MyRecordType t1 := { field1 := "foo", field2 := 1, field3 := true } template MyRecordType t2 := { field1 := "foo", field2 := 1, field3 := true } template MyRecordType t3 := { field1 := "bar", field2 := 1, field3 := true } **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `An approach to quality engineering of TTCN-3 test specifications `_ * `Pattern-based Smell Detection in TTCN-3 Test Suites `_ :octicon:`file-code;1em` :octicon:`comment-discussion;1em` :octicon:`sync;1em` * `Utilising Code Smells to Detect Quality Problems in TTCN-3 Test Suites `_